<template>
  <div class="dashboard-warp">
    <div class="page-header"></div>
    <div class="page-body">
      <div class="menu-warp">
        <div class="menu-body">
          <div class="menu-container">
            <a-menu
              v-model:openKeys="openKeys"
              v-model:selectedKeys="selectedKeys"
              mode="inline"
            >
              <a-menu-item key="5">1、Ref()</a-menu-item>
            </a-menu>
          </div>
        </div>
      </div>
      <div class="body-container">
        <router-view></router-view>
      </div>
    </div>
  </div>
</template>
<script setup></script>
<style scoped lang="less">
.dashboard-warp {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  .page-header {
    height: 54px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(38, 38, 38, 0.1);
  }
  .page-body {
    flex: 1;
    display: flex;
    overflow: hidden;
    .menu-warp {
      flex-shrink: 0;
      height: 100%;
      width: 240px;
      border-right: 1px solid rgba(38, 38, 38, 0.1);
      overflow: hidden;
      .menu-body {
        width: 260px;
        height: 100%;
        overflow: auto;
        box-sizing: border-box;
        .menu-container {
          width: 240px;
        }
      }
    }
    .body-container {
      flex: 1;
      height: 100%;
    }
  }
}
</style>
